<?php

namespace GanYiInfo\Http;

interface ResponseInterface
{
    /**
     * @return int
     */
    public function getCode();

    /**
     * @return string
     */
    public function getMessage();

    /**
     * @return array
     */
    public function getDecodedBody();

    /**
     * @return string
     */
    public function getRedirectUrl();

    /**
     * @return string
     */
    public function getSign();

    /**
     * @return bool
     */
    public function isSuccessful();
}